package com.gaofei.buss.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : gaofee
 * @date : 11:33 2021/5/29
 * @码云地址 : https://gitee.com/itgaofee
 */
@FeignClient(value = "orders-service")
@Component
public interface OrderFeign {
    @RequestMapping("/orderTbl/createOrder")
    public String create(@RequestParam("uid") String uid, @RequestParam("commonCode") String commonCode,@RequestParam("count") int count);
}
